<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>五谷香</title>
    <link href="../dt/css/font-awesome.min.css" rel="stylesheet">
    <link href="../dt/css/bootstrap.min.css" rel="stylesheet">
    <link href="../dt/css/templatemo-style.css" rel="stylesheet">
    <link href="../dt/css/common.css" rel="stylesheet" type="text/css" />
  </head>
  <style type="text/css">
	.Navigation_name > #jie{
		margin-top:20px;
	}
	#t{
		float:left;
		padding-right:30px;
		margin-left:110px;
		position:relative;
	}
	#slogan{
		position:relative;
		top:0px;
		left:45px;
		height:80px;
		width:1000px;
		margin:auto;
	}
	#slogan_one{
		font-size:25px;
		margin-left:70px;
	}
	#slogan_two{
		font-weight:bolder;
		font-size:28px;
		color:red;
	}
</style>
  <body>  
    <!-- Left column -->
    <div class="templatemo-flex-row">
      <!-- Main content --> 
      <div class="templatemo-content col-1 light-gray-bg" style="height:100%;">
       		 <div id="top">
			    <div class="Inside_pages">
					<div class="hd_top_manu clearfix">
					  <ul class="clearfix">
					   	<li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="/dt/que.do">五谷香首页</a></li> 
					   	<c:if test="${name == null || name == ''}">
						    <li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="/dt/login.htm">登录${name }</a></li> 
						    <li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="/dt/reg.htm">注册</a></li> 
					    </c:if>
					    <c:if test="${name != null || name != ''}">
					    	 <li class="hd_menu_tit" data-addclass="hd_menu_hover">${name}</li>
					    	  <li class="hd_menu_tit" data-addclass="hd_menu_hover"><a href="/dt/logout.do">退出</a></li>
					    </c:if>
					  </ul>
					</div>
			    </div>
			  </div>
			  <div class="Navigation" id="Navigation" style="height:80px">
				 <ul class="Navigation_name">
				  	<li><img alt="" src="../dt/img/logo.jpg" style="width:100px;height:80px"></li>
		            <li id="jie"><a href="/dt/index.do" class="active"><i class="fa fa-home fa-fw"></i>我的首页</a></li>
					<li id="jie"><a href="/dt/setUser.htm"><i
							class="fa fa-bar-chart fa-fw"></i>修改信息</a></li>
		             <li id="jie"><a href="/dt/queryStateOrder.do?orderState=已支付"><i
							class="fa fa-database fa-fw"></i>订单中心</a></li>
					<li id="jie"><a href="/dt/queryTrade.do"><i
							class="fa fa-map-marker fa-fw"></i>交易记录</a></li>
					<li id="jie"><a href="/dt/shopping.do"><i
							class="fa fa-map-marker fa-fw"></i>我的购物车</a></li>
					<li id="jie"><a href="/dt/addressMessage.do"><i
							class="fa fa-map-marker fa-fw"></i>地址管理</a></li>
				 </ul>			 
			</div>
		<script>$("#Navigation").slide({titCell:".Navigation_name li",trigger:"click"});</script>
        <div class="templatemo-content-container">         
          <div class="templatemo-content-widget white-bg">
            <h2 class="margin-bottom-10">Data Visualization</h2>
            <p>Credit goes to <a href="https://google-developers.appspot.com/chart/" target="_parent">Google Charts</a></p>
            <div class="panel panel-default no-border">
                <div class="panel-heading templatemo-position-relative"><h2 class="text-uppercase">用户信息</h2></div>
                <div class="table-responsive">
                  <table class="table table-striped table-bordered">
                    <thead>
                      <tr>
                        <td>用户名</td>
                        <td>${user.name}</td>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td>电话号码</td>
                        <td>${user.phone}</td>
                        
                      </tr>
                      <tr>
                        <td>用户余额</td>
                        <td>${user.money}</td>
                        
                      </tr>
                      <tr>
                        <td>注册时间</td>
                        <td>${user.time}</td>
                       
                      </tr>
                      <tr>
                        <td></td>
                        <td></td>
                        
                      </tr>
                      <tr>
                        <td></td>
                        <td></td>
                       
                      </tr>                    
                    </tbody>
                  </table>    
                </div>                          
              </div>
            </div>                        
        </div>  
		<div class="container">
			<form role="form" action="/dt/user/setUser.do" method="get">			
				<div class="form-group">
					 <label for="exampleInputPassword1">电话号码</label><input type="text" name="newPhone" class="form-control" id="exampleInputPassword1" value="${user.phone}"/>
				</div>
				<div class="form-group">
					 <label for="exampleInputPassword1">密码</label><input type="password" name="newPasswd" class="form-control" id="exampleInputPassword1" value="${user.passwd}" />
				</div>
				 <button type="submit"  class="btn btn-success btn-block btn-default">确认提交</button>
			</form>
			<div style="height:50px;width:100%;"></div>
		</div>	
		<div id="slogan">
			<span id="slogan_one"><b id="slogan_two">优</b> 品种优良</span>
			<span id="slogan_one"><b  id="slogan_two">绿</b> 绿色健康</span>
			<span id="slogan_one"><b  id="slogan_two">精</b> 米中精品</span>
			<span id="slogan_one"><b  id="slogan_two">香</b> 优选五谷香</span>
		</div>	
    </div>
  </body>
</html>